﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MotivLogger
{
    public interface ISetting
    {
        string ModuleName{get;}
        Dictionary<string, ISetting> child { get; }
        Dictionary<string, string> items { get; }

        void setAttributeValue(string AttributeName, string NewValue);
        void AddChild(string ModuleName);

        string GetData(string AttributeName);
        string GetStr(string AttributeName, string Default);
        bool GetBool(string AttributeName, bool Default);
        int GetInt(string AttributeName, int Default);
        double GetDouble(string AttributeName, double Default);
        float GetFloat(string AttributeName, float Default);
    }
}
